package com.cfs.po.sys;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.cfs.po.Vo;

/**
 * 用户角色
 * 
 * @author wang.yujie
 * @since 2012-12-23
 * @version 1.0
 */
@XmlRootElement(name = "Role")
public class Role extends Vo{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3866408602845520943L;

	/**
	 * id
	 */
	private Long id;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 描述
	 */
	private String description;

	/**
	 * 权限列表 rights
	 */
	private List<String> rights;

	/**
	 * 菜单列表 menus
	 */
	private List<String> menus;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public List<String> getRights() {
		return rights;
	}

	public void setRights(List<String> rights) {
		this.rights = rights;
	}

	public List<String> getMenus() {
		return menus;
	}

	public void setMenus(List<String> menus) {
		this.menus = menus;
	}

}
